from django.db import models

# Create your models here.
class User(models.Model):
    username = models.CharField(max_length=20,null=False,unique=True)
    userpass = models.CharField(max_length=20, null=False)
    useremail = models.CharField(max_length=20,null=False)
    uname = models.CharField(max_length=20,null=False)
    usernumber = models.CharField(max_length=20, null=False)
    userimg = models.ImageField(upload_to='images/',null=True)
class Admin(models.Model):
    admin = models.CharField(max_length=20,null=False,unique=True)
    adminpass = models.CharField(max_length=20,null=False)
    adminnumber = models.CharField(max_length=20,null=False)